////////////////////////////////////////////////////////////////////////////////////////////////////
/// \file		SDevice\SDeviceMicroWaveGenerator.cpp
/// 		
/// \author		Sylvain Martin
/// \version	1.0
/// \date		24/02/2011
///
/// \brief	Implants the SDeviceMicroWaveGenerator class
/// 		
/// \section LICENSE
///
/// This program is free software; you can redistribute it and/or
/// modify it under the terms of the GNU General Public License as
/// published by the Free Software Foundation; either version 2 of
/// the License, or (at your option) any later version.
/// 
/// This program is distributed in the hope that it will be useful, but
/// WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
/// General Public License for more details at
/// http://www.gnu.org/copyleft/gpl.html
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "SDeviceMicroWaveGenerator.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
/// \fn	double SDeviceMicroWaveGenerator::frequence() const 
///
/// \brief	get the frequency of the microwave in GHz. 
///
////////////////////////////////////////////////////////////////////////////////////////////////////
double SDeviceMicroWaveGenerator::frequency() const {
	return frequency_;
}

////////////////////////////////////////////////////////////////////////////////////////////////////
/// \fn	double SDeviceMicroWaveGenerator::frequence() const 
///
/// \brief	get the power of the microwave in dBm.
///
////////////////////////////////////////////////////////////////////////////////////////////////////
double SDeviceMicroWaveGenerator::power( ) const {
	return power_;}

////////////////////////////////////////////////////////////////////////////////////////////////////
/// \fn	double SDeviceMicroWaveGenerator::frequence() const 
///
/// \brief	get the power limit of the microwave. 
///
////////////////////////////////////////////////////////////////////////////////////////////////////
double SDeviceMicroWaveGenerator::powerLimit( ) const {
	return powerLimit_;}

////////////////////////////////////////////////////////////////////////////////////////////////////
/// \fn	double SDeviceMicroWaveGenerator::frequence() const 
///
/// \brief	get if the generator is Activated. 
///
////////////////////////////////////////////////////////////////////////////////////////////////////
bool SDeviceMicroWaveGenerator::isActivated( ){
	return activated_;}

////////////////////////////////////////////////////////////////////////////////////////////////////
/// \fn	SDeviceMicroWaveGenerator::SDeviceMicroWaveGenerator()
///
/// \brief	constructor. 
///
////////////////////////////////////////////////////////////////////////////////////////////////////
SDeviceMicroWaveGenerator::SDeviceMicroWaveGenerator(QObject *parent):
	SDeviceGpib(parent)
{

}
